#ifndef SPAREPARTENTITY_H
#define SPAREPARTENTITY_H

#include <QString>

class SparePartEntity
{
public:
    SparePartEntity();

    void setSpId(int);
    int getSpId();
    void setSpCode(QString);
    QString getSpCode();
    void setSpName(QString);
    QString getSpName();
    void setUnitCost(float);
    float getUnitCost();
    void setMinCost(float);
    float getMinCost();
    void setMaxCost(float);
    float getMaxCost();
    void setDesc(QString);
    QString getDesc();
    void setDeleted(int);
    int getDeleted();

private:
    int sp_id;
    QString sp_code;
    QString sp_name;
    float unit_cost;
    float min_cost;
    float max_cost;
    QString desc;
    int deleted;

};

#endif // SPAREPARTENTITY_H
